package com.tongji.housediy.view.components
{
	import flash.display.BitmapData;
	import flash.display.BlendMode;

	/**
	 * 
	 * @author chenchao
	 * 
	 */
	public class IndependentFloor extends AbstractDrawingRoom
	{
		public var exchangeData:Vector.<Number>;
		
		public function IndependentFloor(vertices:Vector.<Number> = null)
		{
			if (vertices == null)
			{
				_vertices = new Vector.<Number>();
				
				_vertices.push(0, 0);
				_vertices.push(120, 0);
				_vertices.push(120, 120);
				_vertices.push(0, 120);
				_vertices.push(0, 0);
				
				borderLength = 4;
			}
			else
			{
				_vertices = vertices;
				borderLength = vertices.length / 2 - 1;
			}
			
			roomType = "independentFloor";
			
			super.drawing();
		}
	}
}